﻿<%@ Page MasterPageFile="~/Site.Master" Language="C#" AutoEventWireup="true" CodeBehind="Disabled.aspx.cs" Inherits="Omu.AwesomeWebFormsDemo.Disabled" Culture="auto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="ib">
    <p>setting Enabled="false" foreach control</p>
    <ul class="bigl">
        <li>
            <o:AjaxDropdown runat="server" ID="Country" Url="~/svc/aja.svc/CountriesDropdown"
                Enabled="false"></o:AjaxDropdown>
        </li>
        <li>
            <o:MultiLookup runat="server" ID="Categories2" GetMultipleUrl="~/svc/aja.svc/CategoryGetMultiple"
                SearchUrl='~/svc/aja.svc/CategorySearch' SelectedUrl="~/svc/aja.svc/CategorySelected"
                Value='["1","2","3"]' Enabled="false" />
        </li>
        <li>
            <o:Lookup runat="server" ID="loko" GetUrl="~/svc/aja.svc/FruitGet" SearchUrl='~/svc/aja.svc/FruitSearch'
                Enabled="false" Value="3" />
        </li>
        <li>
            <o:AjaxRadioList runat="server" ID="Categories" Url="~/svc/aja.svc/CategoriesDropdown"
                Enabled="false"></o:AjaxRadioList>
        </li>
        <li>
            <o:AjaxCheckboxList runat="server" ID="AjaxCheckboxList1" Url="~/svc/aja.svc/CategoriesCheckboxList"
                Enabled="false" />
        </li>
    </ul>
    </div>
    <div class="ib">
    <p>setting Enabled="false" to the parent Panel control</p>
    <asp:Panel ID="Panel1" Enabled="false" runat="server">
        <ul class="bigl">
        <li>
         <o:AjaxDropdown runat="server" ID="AjaxDropdown2" Url="~/svc/aja.svc/CountriesDropdown"
                Enabled="false"></o:AjaxDropdown>
        </li>
            <li>
                <o:MultiLookup runat="server" ID="MultiLookup1" GetMultipleUrl="~/svc/aja.svc/CategoryGetMultiple"
                    SearchUrl='~/svc/aja.svc/CategorySearch' SelectedUrl="~/svc/aja.svc/CategorySelected"
                    Value='["1","2","3"]' />
            </li>
            <li>
                <o:Lookup runat="server" ID="Lookup1" GetUrl="~/svc/aja.svc/FruitGet" SearchUrl='~/svc/aja.svc/FruitSearch' Value="1" />
            </li>         
            <li>
                <o:AjaxRadioList runat="server" ID="AjaxRadioList1" Url="~/svc/aja.svc/CategoriesDropdown">
                </o:AjaxRadioList>
            </li>
            <li>
                <o:AjaxCheckboxList runat="server" ID="SimpleCategories" Url="~/svc/aja.svc/CategoriesCheckboxList" />
            </li>
        </ul>
    </asp:Panel>
    </div>
    <hr/>
    <asp:Button ID="Button1" runat="server" Text="Submit" />
</asp:Content>
